From 3082ffc9eb9a68ab99eeff4cb845768f0bf99031 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Mon, 22 Oct 2007 19:36:46 +0000 Subject: [PATCH] * Support magic words in categoriespagetext --- includes/SpecialCategories.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 596569ed17..efe65a78cc 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -9,7 +9,7 @@ function wfSpecialCategories() { $cap = new CategoryPager(); $wgOut->addHTML( - wfMsgWikiHtml( 'categoriespagetext' ) . + wfMsgExt( 'categoriespagetext', array( 'parse' ) ) . $cap->getNavigationBar() . '' . $cap->getNavigationBar() @@ -54,7 +54,7 @@ class CategoryPager extends AlphabeticPager { global $wgLang; $title = Title::makeTitle( NS_CATEGORY, $result->cl_to ); $titleText = $this->getSkin()->makeLinkObj( $title, htmlspecialchars( $title->getText() ) ); - $count = wfMsgExt( 'nmembers', array( 'parsemag', 'escape'), + $count = wfMsgExt( 'nmembers', array( 'parsemag', 'escape' ), $wgLang->formatNum( $result->count ) ); return Xml::tags('li', null, "$titleText ($count)" ) . "\n"; } -- 2.20.1